// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_prot;

import android.os.Parcel;
import android.os.Parcelable;
import com.nnee.p_f.cls_b;
import com.nnee.p_f.cls_b;
import java.util.Iterator;
import java.util.List;

// Referenced classes of package com.nnee.p_pr.p_prot:
//            j, XMLParcelableAttribute

public class cls_XMLParcelableTag extends cls_b
    implements Parcelable
{

    public cls_XMLParcelableTag(Parcel parcel)
    {
        int i = 0;
        super(parcel.readString());
        g(parcel.readString());
        int k = parcel.readInt();
        if(k > 0)
        {
            for(int i1 = i; i1 < k; i1++)
                a(new cls_XMLParcelableAttribute(parcel));

        }
        int l = parcel.readInt();
        if(l > 0)
            for(; i < l; i++)
                d(new cls_XMLParcelableTag(parcel));

    }

    public cls_XMLParcelableTag(cls_b b1)
    {
        super(b1);
    }

    public cls_XMLParcelableTag(String s)
    {
        super(s);
    }

    public cls_XMLParcelableTag(String s, String s1)
    {
        super(s, s1);
    }

    public cls_b a(String s, String s1)
    {
    	cls_XMLParcelableTag xmlparcelabletag = new cls_XMLParcelableTag(s, s1);
        d(xmlparcelabletag);
        return xmlparcelabletag;
    }

    public void a(cls_f f1)
    {
        if(f1 instanceof cls_XMLParcelableAttribute)
            super.a(f1);
    }

    public void b(String s, String s1)
    {
        a(new cls_XMLParcelableAttribute(s, s1));
    }

    public cls_b d(cls_b b1)
    {
    	cls_b b2;
        if(b1 instanceof cls_XMLParcelableTag)
            b2 = super.d(b1);
        else
            b2 = null;
        return b2;
    }

    public int describeContents()
    {
        return 0;
    }

    public void writeToParcel(Parcel parcel, int i)
    {
        String s;
        String s1;
        List list;
        List list1;
        if(z() == null)
            s = "";
        else
            s = z();
        parcel.writeString(s);
        if(A() == null)
            s1 = "";
        else
            s1 = A();
        parcel.writeString(s1);
        list = p();
        if(list == null)
        {
            parcel.writeInt(0);
        } else
        {
            parcel.writeInt(list.size());
            Iterator iterator = list.iterator();
            while(iterator.hasNext()) 
                ((cls_XMLParcelableAttribute)(cls_f)iterator.next()).writeToParcel(parcel, i);
        }
        list1 = q();
        if(list1 == null)
        {
            parcel.writeInt(0);
        } else
        {
            parcel.writeInt(list1.size());
            Iterator iterator1 = list1.iterator();
            while(iterator1.hasNext()) 
                ((cls_XMLParcelableTag)(cls_b)iterator1.next()).writeToParcel(parcel, i);
        }
    }

    public static final android.os.Parcelable.Creator CREATOR = new cls_j();

}
